package com.huawang.mdesign.model.service.vo.datahub;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author baibf
 * @description 同步数据信息
 * @date 2024/7/18 10:05
 **/
@Data
public class SynchronisedDataInfo {

    @Schema(title = "模型Id")
    private String elementId;

    @Schema(title = "父级模型Id")
    private String elementParentId;

    @Schema(title = "require需求id")
    private String reqId;

    @Schema(title = "类型")
    private String type;

    @Schema(title = "种类：1 模型，2 关系")
    private String kind;

    @Schema(title = "属性信息")
    private List<SynchronisedPropertyInfo> propertyInfos;

    @Schema(title = "源")
    private SynchronisedEndInfo source;

    @Schema(title = "目标")
    private SynchronisedEndInfo target;
}
